package com.yangyang.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
@Data
@Accessors
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private String id;//字符串类型id
    private User user;//这个订单所属的用户
    private List<Item> items; //订单包含的商品列表
}
